<?php
/**
 * @author wangwei
 * 2010-8-28
 * 侧边兰
 */
?>

<div id="primary" class="widget-area aside" role="complementary">
<ul class="xoxo">
<li id="rss" class="widget-container widget_bengshuo">
<a href="#" class="rss"><span class="irss"></span>Grab the RSS feed</a>
</li>
<li id="search" class="widget-container widget_search">
	<?php bengshuo_search_form(); ?>
</li>
<?php
	if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
		<li id="categories" class="widget-container widget_categories">
		    <h3 class="widget-title">分类</h3>
	        <ul>
	        <?php wp_list_categories('title_li='); ?>
	        </ul>
		</dl>
		<li id="archives" class="widget-container">
			<h3 class="widget-title">存档</h3>
			<ul>
				<?php wp_get_archives( 'type=monthly' ); ?>
			</ul>
		</li>
		<li id="meta" class="widget-container">
			<h3 class="widget-title">管理</h3>
			<ul>
				<?php wp_register(); ?>
				<li><?php wp_loginout(); ?></li>
				<?php wp_meta(); ?>
			</ul>
		</li>
	<?php endif; // end primary widget area ?>
</ul>
</div>

